#include <string>
#include <gtest\gtest.h>
#include "employee.h"
#include "manager.h"

using namespace std;
enum attribute{firstName,lastName, position, boss};

TEST(taskTest, firstNameTest){
     
    employee Zach("Zach", "Thomas", "Product Engineer", "Tyler"); 
    
    
ASSERT_TRUE("Zach"==Zach.getAttribute(firstName));
}

TEST(taskTest, lastNameTest){
    
    employee Zach("Zach", "Thomas", "Product Engineer", "Tyler"); 
    
    
    ASSERT_TRUE("Thomas"==Zach.getAttribute(lastName));
}

TEST(taskTest, positionTest){
     
    employee Zach("Zach", "Thomas", "Product Engineer", "Tyler"); 
    
    
    ASSERT_TRUE("Product Engineer"==Zach.getAttribute(position));
}

TEST(taskTest, bossTest){
     
    employee Zach("Zach", "Thomas", "Product Engineer", "Tyler");
    
    
    ASSERT_TRUE("Tyler"==Zach.getAttribute(boss));
}